#ifndef _LOG_CTL_H
#define _LOG_CTL_H

//#include <log4cpp/Category.hh>
//extern log4cpp::Category& loggerApp;

class CLogFile
{
public:
	void info(const char * format, ...);
	CLogFile();
	virtual ~CLogFile();
	static void init(void);
private:
	FILE* fpLogFile;
	HANDLE mutex_wr;
};

extern CLogFile * g_logCtl;

#define loggerInfo g_logCtl->info    

//void init_log(void);

#endif